export const hasPermission = (permissionToCheck, permissionString) => {
    return (permissionToCheck & +permissionString) !== 0;
};